package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_socialinformation")
public class Socialinformation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "sa_id", type = IdType.AUTO)
    private Integer saId;

    /**
     * 社保或公积金（1社保，2公积金）
     */
    @TableField("social_security")
    private Integer socialSecurity;

    /**
     * 关联社保方案
     */
    @TableField("socia_id")
    private Integer sociaId;

    /**
     * 社保或公积金id
     */
    @TableField("socia_name")
    private Integer sociaName;

    /**
     * 缴纳对象
     */
    @TableField("payl_name")
    private String paylName;

    /**
     * 缴纳基数
     */
    @TableField("pay_cardinal")
    private Double payCardinal;

    /**
     * 基数下限
     */
    @TableField("base_lower")
    private Double baseLower;

    /**
     * 基数上限
     */
    @TableField("base_cap")
    private Double baseCap;

    /**
     * 缴纳比例
     */
    @TableField("pay_scale")
    private String payScale;

    /**
     * 缴纳金额
     */
    @TableField("pay_received")
    private Double payReceived;

    /**
     * 有效小数位(1.四舍五入，2.取整，3.进位取整)
     */
    @TableField("significant")
    private Integer significant;

    /**
     * 小数点保留规则
     */
    @TableField("decimal_point")
    private String decimalPoint;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private Integer deleteFlag;


}
